const isEmpty = value => {   // 判断传值不是未定义，空值，空对象或者空字符串
    return value == undefined || value === null ||
        (typeof value === 'object' && Object.keys(value).length === 0 ) ||
        (typeof value === 'string' && value.trim().length === 0)
}

module.exports = isEmpty